<template>
    <footer class="footer">
      <span class="todo-count">剩余<strong>数量值</strong>{{arr.length}}</span>
      <ul class="filters">
        <li>
          <a :class="{selected:umaa === 'all'}" href="javascript:;" @click="$emit('chrean','all')">全部</a>
        </li>
        <li>
          <a :class="{selected:umaa === 'no'}" href="javascript:;" @click="$emit('chrean','no')">未完成</a>
        </li>
        <li>
          <a :class="{selected:umaa === 'yes'}" href="javascript:;" @click="$emit('chrean','yes')">已完成</a>
        </li>
      </ul>
      <button class="clear-completed" @click="$emit('clearA')">清除已完成</button>
    </footer>
  </template>
  
  <script>
  export default {
  props:['arr','nmaa'],
  }
  </script>